import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
// import less from 'less'
// https://vite.dev/config/
export default defineConfig((mode,commend)=>{
  console.log(mode,commend);
  return {
  plugins: [vue()],
  resolve: {
  alias: {
      "@": "/src",
    },
  },
  server: {
    open: true, // 自动启动浏览器
    // port: 3000, // 自定义端口号
  },
  }
});
